/* --- Style général --- */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #1e1e2f;
    color: #ffffff;
}

/* --- Navbar --- */
.glass-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.5em;
    font-weight: bold;
    color: #ff5757;
}

.navbar-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

.navbar-links li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

.navbar-links li a:hover {
    background-color: #444;
    border-radius: 5px;
}

.navbar-links .active {
    color: #00b4d8;
}

/* --- Bannière --- */
.custom-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #222;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
}

.banner-text {
    position: absolute;
    text-align: center;
    color: #fff;
}

.banner-text h1 {
    font-size: 3em;
    font-weight: bold;
    margin: 0;
}

.banner-text p {
    font-size: 1.5em;
    margin: 10px 0 0;
}

/* --- Section Équipe --- */
.team-section {
    text-align: center;
    padding: 50px 20px;
    background: #1a1a2e;
}

.team-section h2 {
    font-size: 2.5em;
    color: #ff5757;
    margin-bottom: 30px;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    text-align: center;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.team-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.team-card p {
    font-size: 1em;
    color: #ddd;
}

/* --- Footer --- */
footer {
    background: #111;
    text-align: center;
    padding: 20px;
    color: #fff;
}

footer a {
    color: #ff5757;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
/* Style général */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #1e1e2f; /* Fond sombre */
    color: #ffffff; /* Texte blanc */
}

/* Navbar */
.glass-navbar {
    background: rgba(255, 255, 255, 0.1); /* Effet verre */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5em;
    font-weight: bold;
    color: #ff5757;
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 50px 20px;
    background: #1a1a2e;
    color: #ffffff;
}

.contact-section h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #ff5757;
}

.contact-section p {
    font-size: 1.5em;
    margin-bottom: 20px;
}

/* Formulaire de contact */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1em;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
}

.submit-button {
    background: #ff5757;
    color: #ffffff;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #ff3b3b;
}

/* Footer */
footer {
    background: #111;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer a {
    color: #ff5757;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
/* Bannière Personnalisée */
.custom-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #222; /* Couleur de fond en cas de problème de chargement de l'image */
}

.custom-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
}

.banner-text {
    position: absolute;
    text-align: center;
    color: #ffffff;
}

.banner-text h1 {
    font-size: 3em;
    font-weight: bold;
    margin: 0;
}

.banner-text p {
    font-size: 1.5em;
    margin: 10px 0 0;
}

/* Barre de navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(to right, #2a2a2a, #1c1c1c); /* Couleur dégradée */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5em;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

.navbar-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    margin: 0 15px;
}

.navbar-links a {
    text-decoration: none;
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-links a:hover,
.navbar-links .active {
    color: #00b4d8; /* Couleur de survol ou active */
}

/* Ajustement pour petits écrans */
@media (max-width: 768px) {
    .navbar-links {
        display: none; /* Cache les liens dans une vue mobile (peut être remplacé par un menu hamburger) */
    }

    .burger-menu {
        display: block;
    }
}
/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    background: linear-gradient(120deg, #0d1117, #1a1a2e);
    overflow-x: hidden;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

/* Navbar avec effet Glassmorphism */
.glass-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin: 10px auto;
    animation: slide-down 0.5s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

/* Navbar Links */
.navbar {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar li a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #000;
}

/* Icônes de la navbar */
.icons {
    display: flex;
    gap: 15px;
}

.icon-link {
    color: #fff;
    font-size: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.icon-link:hover {
    transform: scale(1.2);
    color: #7289da;
}

.custom-banner {
    background: url('/image/') no-repeat center center/cover;
}


.home-content h1 {
    font-size: 2.5rem;
    animation: fade-in 1s ease;
}

.home-content p {
    margin-top: 10px;
    font-size: 1.2rem;
    animation: fade-in 1.2s ease;
}

.banner {
    max-width: 90%;
    max-height: 300px; /* Taille limitée */
    margin: 20px auto;
    border-radius: 15px;
    object-fit: cover;
    animation: fade-in 1.5s ease;
}

.join-button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #7289da;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.join-button:hover {
    background: #5a73bf;
    transform: scale(1.1);
}

/* Galerie d'images */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 20px;
}

.image-gallery img {
    width: 100%;
    max-height: 150px; /* Taille réduite */
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-down {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Burger Menu */
.burger-menu {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .navbar {
        display: none;
        flex-direction: column;
        gap: 15px;
        background: rgba(255, 255, 255, 0.1);
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .navbar.active {
        display: flex;
    }

    .burger-menu {
        display: block;
    }
}
.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.custom-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
}
.image-gallery img {
    object-fit: contain;
}
.image-gallery img {
    width: 100%;
    height: auto; /* Garde les proportions naturelles */
    object-fit: contain; /* Assure que l'image entière est visible */
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Pour les autres images, comme .custom-banner img */
.custom-banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(70%);
}

